<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        console.dir(Function);
        function add(n1,n2){
            console.log('调用我的是：'+add.caller);
            return n1+n2;
        }
        console.log('函数名称：'+add.name);
        console.log('函数参数个数：'+add.length);
        console.log('参数数组：'+add.arguments);
        console.log('调用函数：'+add.caller);
        console.log('原型对象：'+add.prototype);
        
        function f1(){
            add(100,200);
        }
        f1();
        
    </script>
</body>
</html>